package cn.good.yan;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * SpringBoot项目 - 服务端2
 * 模拟 服务端
 *      1  配合nacos 负载均衡连接服务端
 *      2  Sentinel 整合openFeign + fallback
 *
 * @author shengren.yan
 * @create 2023-09-27
 */
// 注册中心 注解
@EnableDiscoveryClient
@SpringBootApplication
public class BootApplication {

     public static void main(String[] args) {
        SpringApplication.run(BootApplication.class, args);
     }

}